<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>个人信息与成绩输入—智研策略</title>
  <!-- CSS文件已通过JavaScript导入 -->
</head>

<body>
  <div class="input-container">
    <h1>个人信息输入</h1>

    <!-- 个人信息输入区域 -->
    <div class="user-info-section">
      <h2 class="menu-title">个人信息输入</h2>
      <form id="userInfoForm">
        <!-- 专业、学院、目标院校信息 -->
        <div class="input-grid">
          <div class="form-group">
            <label for="majorInput">专业：</label>
            <input type="text" id="majorInput" placeholder="请输入您的专业" required>
          </div>
          <div class="form-group">
            <label for="collegeInput">学院：</label>
            <input type="text" id="collegeInput" placeholder="请输入您的学院" required>
          </div>
          <div class="form-group">
            <label for="targetSchoolInput">目标院校：</label>
            <input type="text" id="targetSchoolInput" placeholder="请输入目标院校" required>
          </div>
        </div>

        <!-- 成绩输入区域 - 四行两列布局 -->
        <div id="scoreForm" class="score-input-grid">
          <div class="score-row">
            <div class="form-group">
              <label>平均学分绩点：</label>
              <input type="number" name="gpa" step="0.01" min="0" max="5.0" required>
            </div>
            <div class="form-group">
              <label>英语四级成绩：</label>
              <input type="number" name="cet4" step="0.01" min="0" max="750" required>
            </div>
          </div>
          <div class="score-row">
            <div class="form-group">
              <label>高等数学(上)：</label>
              <input type="number" name="math1" step="0.01" min="0" max="100" required>
            </div>
            <div class="form-group">
              <label>高等数学(下)：</label>
              <input type="number" name="math2" step="0.01" min="0" max="100" required>
            </div>
          </div>
          <div class="score-row">
            <div class="form-group">
              <label>大学英语1：</label>
              <input type="number" name="english1" step='0.01' min="0" max="100" required>
            </div>
            <div class="form-group">
              <label>大学英语2：</label>
              <input type="number" name="english2" step='0.01' min="0" max="100" required>
            </div>
          </div>
          <div class="score-row">
            <div class="form-group">
              <label>大学英语3：</label>
              <input type="number" name="english3" step="0.01" min="0" max="100" required>
            </div>
            <div class="form-group">
              <label>大学英语4：</label>
              <input type="number" name="english4" step="0.01" min="0" max="100" required>
            </div>
          </div>
        </div>

        <!-- 保存所有个人信息按钮 -->
        <div style="text-align: center; margin-top: 1rem;">
          <button type="button" id="saveAllInfoBtn" class="save-btn">保存所有个人信息</button>
        </div>
      </form>
    </div>

    <!-- 功能选择区域 -->
    <div class="function-section">
      <h2 class="menu-title">选择功能</h2>
      <div class="function-buttons">
        <button id="assessmentBtn" class="function-btn">报考竞争能力评估</button>
        <button id="matchingBtn" class="function-btn">往届生源轨迹匹配</button>
        <button id="insightBtn" class="function-btn">目标院校深度洞察</button>
      </div>
    </div>

    <!-- 返回主页按钮 -->
    <div style="text-align: center; margin-top: 2rem;">
      <a href="/main.html" class="back-btn">返回主页</a>
    </div>
  </div>
</body>

</html>